import { OmitType, PartialType } from "@nestjs/mapped-types";
import { IsString } from "class-validator";
import { CreateCascaderTypeDto } from "./create-csdr-type.dto";

export class UpdateCascaderTypeDto extends PartialType(OmitType(CreateCascaderTypeDto, ["code"] as const)) {
    @IsString()
    id!: string;
}
